package com.ecut.property_project.mapper.bunk;

import com.ecut.property_project.model.bunk.BunkHead;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BunkHeadMapper {
    int deleteByPrimaryKey(String bunkId);

    int insert(BunkHead record);

    int insertSelective(BunkHead record);

    List<BunkHead> selectAll();

    List<BunkHead> selectByPage(Integer page, Integer pageSize);

    BunkHead selectByPrimaryKey(String bunkId);

    int updateByPrimaryKeySelective(BunkHead record);

    int updateByPrimaryKey(BunkHead record);
}